﻿namespace My.Hydrator.Tests
{
    using System.ComponentModel.DataAnnotations;
    using My.Hydrator.Formatters;

    public class CustomFormatter : BaseDataTypeFormatter, IDataTypeFormatter
    {
        public DataTypeAttribute FormatterDataType
        {
            get { return new DataTypeAttribute("Custom"); }
        }

        public object GetFormat()
        {
            return "CustomFormatter";
        }
    }
}
